package com.xxin.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 挂号单表
 */
public class Registry implements Serializable {
	private Long id;
	
	/**
	 * 病人表主键ID
	 */
	private Long patientId;
	
	/**
	 * 排期表主键ID
	 */
	private Long scheduleId;
	
	/**
	 * 用户表主键ID
	 */
	private Long userId;
	
	/**
	 * 就诊科室表主键ID
	 */
	private Long departmentId;
	
	/**
	 * 就诊房间表主键ID
	 */
	private Long roomId;
	
	/**
	 * 挂号单状态 1-->已挂号，未问诊；2-->正在问诊；3-->问诊结束
	 */
	private Integer status;
	
	/**
	 * 挂号费(￥)
	 */
	private BigDecimal fee;
	
	/**
	 * 实际支付挂号费(￥)
	 */
	private BigDecimal payFee;
	
	/**
	 * 医保报销费(￥)
	 */
	private BigDecimal medicareFee;
	
	/**
	 * 是否使用医保卡 1-->未使用，2-->使用
	 */
	private Integer isMedicare;
	
	/**
	 * 挂号时间
	 */
	private LocalDateTime registryTime;
	
	/**
	 * 医生问诊时间
	 */
	private LocalDateTime consultationTime;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getPatientId() {
		return patientId;
	}
	
	public void setPatientId(Long patientId) {
		this.patientId = patientId;
	}
	
	public Long getScheduleId() {
		return scheduleId;
	}
	
	public void setScheduleId(Long scheduleId) {
		this.scheduleId = scheduleId;
	}
	
	public Long getUserId() {
		return userId;
	}
	
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	public Long getDepartmentId() {
		return departmentId;
	}
	
	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}
	
	public Long getRoomId() {
		return roomId;
	}
	
	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}
	
	public Integer getStatus() {
		return status;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public BigDecimal getFee() {
		return fee;
	}
	
	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}
	
	public BigDecimal getPayFee() {
		return payFee;
	}
	
	public void setPayFee(BigDecimal payFee) {
		this.payFee = payFee;
	}
	
	public BigDecimal getMedicareFee() {
		return medicareFee;
	}
	
	public void setMedicareFee(BigDecimal medicareFee) {
		this.medicareFee = medicareFee;
	}
	
	public Integer getIsMedicare() {
		return isMedicare;
	}
	
	public void setIsMedicare(Integer isMedicare) {
		this.isMedicare = isMedicare;
	}
	
	public LocalDateTime getRegistryTime() {
		return registryTime;
	}
	
	public void setRegistryTime(LocalDateTime registryTime) {
		this.registryTime = registryTime;
	}
	
	public LocalDateTime getConsultationTime() {
		return consultationTime;
	}
	
	public void setConsultationTime(LocalDateTime consultationTime) {
		this.consultationTime = consultationTime;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}